<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>显示分类</title>
    <style>
        table{
            border-spacing:1px;
            border:1px solid #A2C0DA;
        }
        tr td.father{
            width:100px;
            background:#B0D1FC;
            border:1px solid white;
            text-align:center;
        } 
        tr td.children{
            height:50px;
            width:500px;
            background:#CBE2FB;
            border:1px solid white;
            text-align:center;
        }
    </style>
</head>
<body>
    <table>
    <tbody>
    {% for entry in entrylist %}
        {% for key, value in entry.items %}
            <tr>
            <td class="father">{{ key }}</td>
            <td class="children">
            {% for category in value %}
                <a href="/category/show?name={{category.name}}">
                &nbsp;{{ category }} 
                </a>&nbsp;
            {% endfor %}
            </td>
            </tr>
        {% endfor %}
    {% endfor %}
    </tbody>
    </table>
</body>

</html>